]> dgit.raspbian.org Git - gnome-shell.git/commit
breakManager: Rework notification urgency setting and presentation
authorPhilip Withnall <pwithnall@gnome.org>
Tue, 8 Apr 2025 14:32:36 +0000 (15:32 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 11 Apr 2025 13:18:48 +0000 (13:18 +0000)
commit5ca183fe88eac6d251ace4be054f0865831e7086
treed20e31d01387a6ffd6b2533bd36d782ba9f5381a
parentadcd527bed21a86cd74c2583b47e993ae2576db9
breakManager: Rework notification urgency setting and presentation

Move the setting of the notification’s urgency, and adding the
notification to the queue, to beside where the notification is created.

This avoids the potential for changing the urgency of an existing
notification if none of the branches above are taken, and
`this._notification` is non-empty.

Spotted by Florian Müllner in
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3687#note_2405781.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3687>
js/misc/breakManager.js